package org.enhance.common.util;

import org.apache.commons.collections4.MapUtils;

import java.util.Map;
import java.util.Objects;

public class EnhanceMapUtil {
    private EnhanceMapUtil() {
        throw new IllegalStateException("Constant class");
    }

    public static boolean containsNotNullValue(Map<String, Object> params, String key) {
        return Objects.nonNull(MapUtils.getObject(params, key));
    }
}
